package androidx.test.espresso;

import android.view.View;
import androidx.test.espresso.core.internal.deps.dagger.internal.Factory;
import androidx.test.espresso.core.internal.deps.guava.util.concurrent.ListeningExecutorService;
import androidx.test.espresso.remote.RemoteInteraction;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicReference;
import javax.inject.Provider;
import org.hamcrest.Matcher;

/* loaded from: classes.dex */
public final class ViewInteraction_Factory implements Factory<ViewInteraction> {
    private final Provider<FailureHandler> failureHandlerProvider;
    private final Provider<Executor> mainThreadExecutorProvider;
    private final Provider<AtomicReference<Boolean>> needsActivityProvider;
    private final Provider<ListeningExecutorService> remoteExecutorProvider;
    private final Provider<RemoteInteraction> remoteInteractionProvider;
    private final Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider;
    private final Provider<UiController> uiControllerProvider;
    private final Provider<ViewFinder> viewFinderProvider;
    private final Provider<Matcher<View>> viewMatcherProvider;

    public ViewInteraction_Factory(Provider<UiController> uiControllerProvider, Provider<ViewFinder> viewFinderProvider, Provider<Executor> mainThreadExecutorProvider, Provider<FailureHandler> failureHandlerProvider, Provider<Matcher<View>> viewMatcherProvider, Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider, Provider<AtomicReference<Boolean>> needsActivityProvider, Provider<RemoteInteraction> remoteInteractionProvider, Provider<ListeningExecutorService> remoteExecutorProvider) {
        this.uiControllerProvider = uiControllerProvider;
        this.viewFinderProvider = viewFinderProvider;
        this.mainThreadExecutorProvider = mainThreadExecutorProvider;
        this.failureHandlerProvider = failureHandlerProvider;
        this.viewMatcherProvider = viewMatcherProvider;
        this.rootMatcherRefProvider = rootMatcherRefProvider;
        this.needsActivityProvider = needsActivityProvider;
        this.remoteInteractionProvider = remoteInteractionProvider;
        this.remoteExecutorProvider = remoteExecutorProvider;
    }

    @Override // javax.inject.Provider
    public ViewInteraction get() {
        return provideInstance(this.uiControllerProvider, this.viewFinderProvider, this.mainThreadExecutorProvider, this.failureHandlerProvider, this.viewMatcherProvider, this.rootMatcherRefProvider, this.needsActivityProvider, this.remoteInteractionProvider, this.remoteExecutorProvider);
    }

    public static ViewInteraction provideInstance(Provider<UiController> uiControllerProvider, Provider<ViewFinder> viewFinderProvider, Provider<Executor> mainThreadExecutorProvider, Provider<FailureHandler> failureHandlerProvider, Provider<Matcher<View>> viewMatcherProvider, Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider, Provider<AtomicReference<Boolean>> needsActivityProvider, Provider<RemoteInteraction> remoteInteractionProvider, Provider<ListeningExecutorService> remoteExecutorProvider) {
        return new ViewInteraction(uiControllerProvider.get(), viewFinderProvider.get(), mainThreadExecutorProvider.get(), failureHandlerProvider.get(), viewMatcherProvider.get(), rootMatcherRefProvider.get(), needsActivityProvider.get(), remoteInteractionProvider.get(), remoteExecutorProvider.get());
    }

    public static ViewInteraction_Factory create(Provider<UiController> uiControllerProvider, Provider<ViewFinder> viewFinderProvider, Provider<Executor> mainThreadExecutorProvider, Provider<FailureHandler> failureHandlerProvider, Provider<Matcher<View>> viewMatcherProvider, Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider, Provider<AtomicReference<Boolean>> needsActivityProvider, Provider<RemoteInteraction> remoteInteractionProvider, Provider<ListeningExecutorService> remoteExecutorProvider) {
        return new ViewInteraction_Factory(uiControllerProvider, viewFinderProvider, mainThreadExecutorProvider, failureHandlerProvider, viewMatcherProvider, rootMatcherRefProvider, needsActivityProvider, remoteInteractionProvider, remoteExecutorProvider);
    }

    public static ViewInteraction newViewInteraction(UiController uiController, ViewFinder viewFinder, Executor mainThreadExecutor, FailureHandler failureHandler, Matcher<View> viewMatcher, AtomicReference<Matcher<Root>> rootMatcherRef, AtomicReference<Boolean> needsActivity, RemoteInteraction remoteInteraction, ListeningExecutorService remoteExecutor) {
        return new ViewInteraction(uiController, viewFinder, mainThreadExecutor, failureHandler, viewMatcher, rootMatcherRef, needsActivity, remoteInteraction, remoteExecutor);
    }
}
